// @ts-ignore
/* eslint-disable */
import request from '@/utils/request';

/** 批量调库 POST /fds/adjust/addAdjustAbundance */
export async function addStCounterAdjustUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.addStCounterAdjustUsingPOSTParams,
  body: API.__3[],
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/adjust/addAdjustAbundance', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 新增柜组调货 POST /fds/adjust/addStCounterAdjust */
export async function addStCounterAdjustUsingPOST1(
  body: API.Pinyin_69,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_85>('/fds/adjust/addStCounterAdjust', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 新增店面调货 POST /fds/adjust/addStoreAdjust */
export async function addStoreAdjustUsingPOST(
  body: API.Pinyin_69,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_85>('/fds/adjust/addStoreAdjust', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}

/** 调货详情 GET /fds/adjust/AdjustDetail */
export async function pendingAdjustUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.pendingAdjustUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.AdjustDto>('/fds/adjust/AdjustDetail', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 调货记录详情列表 GET /fds/adjust/AdjustDetailList */
export async function pendingAdjustListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.pendingAdjustListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultAdDetailDto_>('/fds/adjust/AdjustDetailList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 追加调库 POST /fds/adjust/appendAdjust */
export async function appendAdjustUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.appendAdjustUsingPOSTParams,
  body: API.Pinyin_84[],
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_85>('/fds/adjust/appendAdjust', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    params: {
      ...params,
    },
    data: body,
    ...(options || {}),
  });
}

/** 导出调货记录详情列表 POST /fds/adjust/exportAdjustDetailList */
export async function exportAdjustDetailListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportAdjustDetailListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/adjust/exportAdjustDetailList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出柜组调库记录 POST /fds/adjust/exportStCounterAdjustList */
export async function exportLosDetailUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportLosDetailUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/adjust/exportStCounterAdjustList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 导出店面调货记录 POST /fds/adjust/exportStoreAdjustList */
export async function exportStoreAdjustListUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.exportStoreAdjustListUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<any>('/fds/adjust/exportStoreAdjustList', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 商品名统计 GET /fds/adjust/getGoodsList */
export async function getGoodsListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.getGoodsListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResult__2>('/fds/adjust/getGoodsList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 柜组调库记录 GET /fds/adjust/stCounterAdjustList */
export async function stCounterAdjustListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.stCounterAdjustListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultAdjustDto_>('/fds/adjust/stCounterAdjustList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 柜组调库接收/店面调库审核 POST /fds/adjust/stCounterReceive */
export async function stCounterReceiveUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.stCounterReceiveUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/adjust/stCounterReceive', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 柜组调库取消/店面调库撤销 POST /fds/adjust/stCounterReject */
export async function stCounterRejectUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.stCounterRejectUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/adjust/stCounterReject', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 柜组调库撤销/店面调库反审核 POST /fds/adjust/stCounterRevoke */
export async function stCounterRevokeUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.stCounterRevokeUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<boolean>('/fds/adjust/stCounterRevoke', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 店面调货记录 GET /fds/adjust/storeAdjustList */
export async function storeAdjustListUsingGET(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.storeAdjustListUsingGETParams,
  options?: { [key: string]: any },
) {
  return request<API.PageResultAdjustDto_>('/fds/adjust/storeAdjustList', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** 修改调库记录 POST /fds/adjust/updateAdjust */
export async function updateAdjustUsingPOST(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.updateAdjustUsingPOSTParams,
  options?: { [key: string]: any },
) {
  return request<API.Pinyin_85>('/fds/adjust/updateAdjust', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
